-
Notifications
You must be signed in to change notification settings - Fork 658
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(lane_change): reduce prepare duration when blinker has been activated #9185
Open
mkquda
wants to merge
46
commits into
autowarefoundation:main
Choose a base branch
from
tier4:RT1-8204-reduce-prepare-duration-when-blinker-has-been-activated
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
feat(lane_change): reduce prepare duration when blinker has been activated #9185
mkquda
wants to merge
46
commits into
autowarefoundation:main
from
tier4:RT1-8204-reduce-prepare-duration-when-blinker-has-been-activated
+124
−32
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Signed-off-by: mohammad alqudah <[email protected]>
Signed-off-by: mohammad alqudah <[email protected]>
…blinker-has-been-activated
…blinker-has-been-activated
github-actions
bot
added
type:documentation
Creating or refining documentation. (auto-assigned)
component:planning
Route planning, decision-making, and navigation. (auto-assigned)
labels
Oct 30, 2024
Thank you for contributing to the Autoware project! 🚧 If your pull request is in progress, switch it to draft mode. Please ensure:
|
…blinker-has-been-activated
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions <[email protected]>
…owarefoundation#9173) * refactor(time_utils): prefix package and namespace with autoware Signed-off-by: Esteve Fernandez <[email protected]> * refactor(time_utils): prefix package and namespace with autoware Signed-off-by: Esteve Fernandez <[email protected]> * style(pre-commit): autofix --------- Signed-off-by: Esteve Fernandez <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* add requested feature Signed-off-by: Go Sakayori <[email protected]> * Update planning/autoware_rtc_interface/test/test_rtc_interface.cpp Co-authored-by: Satoshi OTA <[email protected]> --------- Signed-off-by: Go Sakayori <[email protected]> Co-authored-by: Satoshi OTA <[email protected]>
…ws (autowarefoundation#9199) Signed-off-by: Maxime CLEMENT <[email protected]>
fix(bpp): calcDistanceToRedTrafficLight null Signed-off-by: Shumpei Wakabayashi <[email protected]>
… predictor (autowarefoundation#9201) * refactor: grouping functions Signed-off-by: Taekjin LEE <[email protected]> * refactor: grouping parameters Signed-off-by: Taekjin LEE <[email protected]> * refactor: rename member road_users_history to road_users_history_ Signed-off-by: Taekjin LEE <[email protected]> * refactor: separate util functions Signed-off-by: Taekjin LEE <[email protected]> * refactor: Add predictor_vru.cpp and utils.cpp to map_based_prediction_node Signed-off-by: Taekjin LEE <[email protected]> * refactor: Add explicit template instantiation for removeOldObjectsHistory function Signed-off-by: Taekjin LEE <[email protected]> * refactor: Add tf2_geometry_msgs to data_structure Signed-off-by: Taekjin LEE <[email protected]> * refactor: Remove unused variables and functions in map_based_prediction_node.cpp Signed-off-by: Taekjin LEE <[email protected]> * Update perception/autoware_map_based_prediction/include/map_based_prediction/predictor_vru.hpp * Apply suggestions from code review * style(pre-commit): autofix --------- Signed-off-by: Taekjin LEE <[email protected]> Co-authored-by: Mamoru Sobue <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
…er (autowarefoundation#8912) * Moved ndt_omp into ndt_scan_matcher Signed-off-by: Shintaro Sakoda <[email protected]> * Added Copyright Signed-off-by: Shintaro Sakoda <[email protected]> * style(pre-commit): autofix * Fixed include Signed-off-by: Shintaro Sakoda <[email protected]> * Fixed cast style Signed-off-by: Shintaro Sakoda <[email protected]> * Fixed include Signed-off-by: Shintaro Sakoda <[email protected]> * Fixed honorific title Signed-off-by: Shintaro Sakoda <[email protected]> * Fixed honorific title Signed-off-by: Shintaro Sakoda <[email protected]> * style(pre-commit): autofix * Fixed include hierarchy Signed-off-by: Shintaro Sakoda <[email protected]> * style(pre-commit): autofix * Fixed include hierarchy Signed-off-by: Shintaro Sakoda <[email protected]> * style(pre-commit): autofix * Fixed hierarchy Signed-off-by: Shintaro Sakoda <[email protected]> * Fixed NVTP to NVTL Signed-off-by: Shintaro Sakoda <[email protected]> * Added cspell:ignore Signed-off-by: Shintaro Sakoda <[email protected]> * Fixed miss spell Signed-off-by: Shintaro Sakoda <[email protected]> * style(pre-commit): autofix * Fixed include Signed-off-by: Shintaro Sakoda <[email protected]> * Renamed applyFilter Signed-off-by: Shintaro Sakoda <[email protected]> * Moved ***_impl.hpp from include/ to src/ Signed-off-by: Shintaro Sakoda <[email protected]> * style(pre-commit): autofix * Fixed variable scope Signed-off-by: Shintaro Sakoda <[email protected]> * Fixed to pass by reference Signed-off-by: Shintaro Sakoda <[email protected]> --------- Signed-off-by: Shintaro Sakoda <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
…ndation#9177) Signed-off-by: Mamoru Sobue <[email protected]>
…blinker-has-been-activated
github-actions
bot
added
component:perception
Advanced sensor data processing and environment understanding. (auto-assigned)
component:localization
Vehicle's position determination in its environment. (auto-assigned)
component:control
Vehicle control algorithms and mechanisms. (auto-assigned)
type:ci
Continuous Integration (CI) processes and testing. (auto-assigned)
component:common
Common packages from the autoware-common repository. (auto-assigned)
tag:require-cuda-build-and-test
and removed
component:perception
Advanced sensor data processing and environment understanding. (auto-assigned)
component:localization
Vehicle's position determination in its environment. (auto-assigned)
component:control
Vehicle control algorithms and mechanisms. (auto-assigned)
type:ci
Continuous Integration (CI) processes and testing. (auto-assigned)
component:common
Common packages from the autoware-common repository. (auto-assigned)
tag:require-cuda-build-and-test
labels
Oct 31, 2024
…transient data Signed-off-by: mohammad alqudah <[email protected]>
…blinker-has-been-activated Signed-off-by: mohammad alqudah <[email protected]>
…blinker-has-been-activated Signed-off-by: mohammad alqudah <[email protected]>
…n calc_actual_prepare_duration Signed-off-by: mohammad alqudah <[email protected]>
Signed-off-by: mohammad alqudah <[email protected]>
…blinker-has-been-activated Signed-off-by: mohammad alqudah <[email protected]>
Signed-off-by: tomoya.kimura <[email protected]>
…blinker-has-been-activated
github-actions
bot
added
the
type:ci
Continuous Integration (CI) processes and testing. (auto-assigned)
label
Nov 28, 2024
Signed-off-by: tomoya.kimura <[email protected]>
…blinker-has-been-activated
Signed-off-by: tomoya.kimura <[email protected]>
Signed-off-by: mohammad alqudah <[email protected]>
…blinker-has-been-activated
Signed-off-by: mohammad alqudah <[email protected]>
…blinker-has-been-activated
maxime-clem
reviewed
Dec 2, 2024
planning/behavior_path_planner/autoware_behavior_path_lane_change_module/README.md
Outdated
Show resolved
Hide resolved
planning/behavior_path_planner/autoware_behavior_path_lane_change_module/src/manager.cpp
Show resolved
Hide resolved
...ng/behavior_path_planner/autoware_behavior_path_lane_change_module/src/utils/calculation.cpp
Show resolved
Hide resolved
Signed-off-by: mohammad alqudah <[email protected]>
...ng/behavior_path_planner/autoware_behavior_path_lane_change_module/src/utils/calculation.cpp
Outdated
Show resolved
Hide resolved
maxime-clem
approved these changes
Dec 3, 2024
Signed-off-by: mohammad alqudah <[email protected]>
…nge_module/README.md Co-authored-by: Maxime CLEMENT <[email protected]>
zulfaqar-azmi-t4
approved these changes
Dec 4, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
Signed-off-by: mohammad alqudah <[email protected]>
…blinker-has-been-activated
Signed-off-by: mohammad alqudah <[email protected]>
…ion' into RT1-8204-reduce-prepare-duration-when-blinker-has-been-activated Signed-off-by: mohammad alqudah <[email protected]>
Signed-off-by: mohammad alqudah <[email protected]>
…ion' into RT1-8204-reduce-prepare-duration-when-blinker-has-been-activated
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
component:planning
Route planning, decision-making, and navigation. (auto-assigned)
tag:run-build-and-test-differential
Mark to enable build-and-test-differential workflow. (used-by-ci)
type:ci
Continuous Integration (CI) processes and testing. (auto-assigned)
type:documentation
Creating or refining documentation. (auto-assigned)
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Currently, a constant prepare duration (parameterized) is being used when generating LC path candidates, this was necessary because until recently turn signal was activated only after LC path was approved.
However, LC turn signal logic was recently changed to activate as soon as we have the intention to change lanes (i.e: when LC module is run). Therefore it is no longer necessary to have a constant long prepare duration, and we can reduce the prepare duration as the turn signal on duration increases.
Changes
signal_activation_time_
toLaneChangeBase
classlane_change_prepare_duration
toTransientData
structcalc_actual_prepare_duration
to calculate actual needed prepare duration based on current velocity and signal on durationupdate_transient_data
to setlane_change_prepare_duration
Related links
How was this PR tested?
Notes for reviewers
None.
Interface changes
None.
ROS Parameter Changes
Additions and removals
min_prepare_duration
double
1.0
lane_changing_decel_factor
double
0.5
Modifications
prepare_duration
double
4.0
max_prepare_duration
double
4.0
Effects on system behavior
When LC module activates, initially prepare duration will be max, as signal activation duration increases, prepare duration will be gradually reduced to minimum, allowing a shorter LC path to be found.